1:显示学生信息，20条(已完成不必再做)。
<%@ page import="cn.myschool.entity.Student" %>
<%@ page import="java.util.List" %>
<%@ page import="cn.myschool.service.StudentService" %><%--
  Created by IntelliJ IDEA.
  User: oldliu
  Date: 2022/7/1
  Time: 9:41
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>学生信息</title>
    <style>
        table td{
            text-align: center;
        }
    </style>
</head>
<body>

<table border="1" cellpadding="0" cellspacing="0" align="center" style="width: 90%">
    <caption>学生信息</caption>
    <tr>
        <td>学号</td>
        <td>姓名</td>
        <td>性别</td>
        <td>QQ</td>
        <td>手机号</td>
        <td>微信</td>
    </tr>

    <%
        List<Student> list = StudentService.ME.search(null, null, null, null, null, 1, 20);

        for (Student s : list) {
    %>
    <tr>
        <td><%=s.getStuno()%></td>
        <td><%=s.getSname()%></td>
        <td><%=s.getSex()%></td>
        <td><%=s.getQq()%></td>
        <td><%=s.getTelephone()%></td>
        <td><%=s.getWechat()%></td>
    </tr>
    <%}%>
</table>
</body>
</html>